package com.dd.cloud.user.req.doctor;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.dd.cloud.common.annotate.validation.Phone;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDate;

/**
 * 机构添加医生
 *
 * @author zk
 */
@Data
public class MechanCreateDoctorBatchReq {

    /**
     * 手机号码
     */
    @NotBlank(message = "手机号不能为空")
    @Phone
    @Excel(name = "手机号码（必填）", width = 20, orderNum = "3")
    private String mobileNumber;

    /**
     * 医生姓名
     */
    @NotBlank(message = "医生姓名不能为空")
    @Excel(name = "医生姓名（必填）", width = 20, orderNum = "1")
    private String name;

    /**
     * 医生性别
     */
    @NotBlank(message = "医生性别不能为空")
    @Excel(name = "性别（必填）", width = 20, orderNum = "2")
    private String sex;

    /**
     * 医生身份证号
     */
    @Excel(name = "身份证号", width = 20, orderNum = "5")
    private String idCard;

    /**
     * 执业医师资格证编号
     */
    @Excel(name = "执业医生资格证编号", width = 20, orderNum = "8")
    private String certificateNo;

    /**
     * 科室
     */
    @Excel(name = "主治科室", width = 20, orderNum = "6")
    private String department;

    private Integer doctorId;

    /**
     * 出生日期
     */
    private LocalDate birthDate;

    /**
     * 医生技术职称
     */
    @Excel(name = "技术职称", width = 20, orderNum = "7")
    private String proCertificate;
}
